const express=require('express');
const router=express.Router();

const checkLogin=require('../middlewares/check').checkLogin;

//GET /signout 登出页
router.get('/',checkLogin,function(req,res){
    res.send(req.flash());
});

module.exports=router;